package com.dupf.product.dao.model;

import java.io.Serializable;

public class ProductLogisticsPrice implements Serializable {
    /**
     * 编号
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 组织编号
     *
     * @mbg.generated
     */
    private Integer orgId;

    /**
     * 物流公司id
     *
     * @mbg.generated
     */
    private Integer logisticsId;

    /**
     * 重量，单位千克
     *
     * @mbg.generated
     */
    private Float weight;

    /**
     * 中国，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceCn;

    /**
     * 美国，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceUs;

    /**
     * 加拿大，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceCa;

    /**
     * 英国，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceUk;

    /**
     * 德国，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceDe;

    /**
     * 西班牙，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceEs;

    /**
     * 意大利，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceIt;

    /**
     * 法国，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceFr;

    /**
     * 墨西哥，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceMx;

    /**
     * 日本，价格，单位元
     *
     * @mbg.generated
     */
    private Float priceJp;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Long ctime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(Integer logisticsId) {
        this.logisticsId = logisticsId;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Float getPriceCn() {
        return priceCn;
    }

    public void setPriceCn(Float priceCn) {
        this.priceCn = priceCn;
    }

    public Float getPriceUs() {
        return priceUs;
    }

    public void setPriceUs(Float priceUs) {
        this.priceUs = priceUs;
    }

    public Float getPriceCa() {
        return priceCa;
    }

    public void setPriceCa(Float priceCa) {
        this.priceCa = priceCa;
    }

    public Float getPriceUk() {
        return priceUk;
    }

    public void setPriceUk(Float priceUk) {
        this.priceUk = priceUk;
    }

    public Float getPriceDe() {
        return priceDe;
    }

    public void setPriceDe(Float priceDe) {
        this.priceDe = priceDe;
    }

    public Float getPriceEs() {
        return priceEs;
    }

    public void setPriceEs(Float priceEs) {
        this.priceEs = priceEs;
    }

    public Float getPriceIt() {
        return priceIt;
    }

    public void setPriceIt(Float priceIt) {
        this.priceIt = priceIt;
    }

    public Float getPriceFr() {
        return priceFr;
    }

    public void setPriceFr(Float priceFr) {
        this.priceFr = priceFr;
    }

    public Float getPriceMx() {
        return priceMx;
    }

    public void setPriceMx(Float priceMx) {
        this.priceMx = priceMx;
    }

    public Float getPriceJp() {
        return priceJp;
    }

    public void setPriceJp(Float priceJp) {
        this.priceJp = priceJp;
    }

    public Long getCtime() {
        return ctime;
    }

    public void setCtime(Long ctime) {
        this.ctime = ctime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orgId=").append(orgId);
        sb.append(", logisticsId=").append(logisticsId);
        sb.append(", weight=").append(weight);
        sb.append(", priceCn=").append(priceCn);
        sb.append(", priceUs=").append(priceUs);
        sb.append(", priceCa=").append(priceCa);
        sb.append(", priceUk=").append(priceUk);
        sb.append(", priceDe=").append(priceDe);
        sb.append(", priceEs=").append(priceEs);
        sb.append(", priceIt=").append(priceIt);
        sb.append(", priceFr=").append(priceFr);
        sb.append(", priceMx=").append(priceMx);
        sb.append(", priceJp=").append(priceJp);
        sb.append(", ctime=").append(ctime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ProductLogisticsPrice other = (ProductLogisticsPrice) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrgId() == null ? other.getOrgId() == null : this.getOrgId().equals(other.getOrgId()))
            && (this.getLogisticsId() == null ? other.getLogisticsId() == null : this.getLogisticsId().equals(other.getLogisticsId()))
            && (this.getWeight() == null ? other.getWeight() == null : this.getWeight().equals(other.getWeight()))
            && (this.getPriceCn() == null ? other.getPriceCn() == null : this.getPriceCn().equals(other.getPriceCn()))
            && (this.getPriceUs() == null ? other.getPriceUs() == null : this.getPriceUs().equals(other.getPriceUs()))
            && (this.getPriceCa() == null ? other.getPriceCa() == null : this.getPriceCa().equals(other.getPriceCa()))
            && (this.getPriceUk() == null ? other.getPriceUk() == null : this.getPriceUk().equals(other.getPriceUk()))
            && (this.getPriceDe() == null ? other.getPriceDe() == null : this.getPriceDe().equals(other.getPriceDe()))
            && (this.getPriceEs() == null ? other.getPriceEs() == null : this.getPriceEs().equals(other.getPriceEs()))
            && (this.getPriceIt() == null ? other.getPriceIt() == null : this.getPriceIt().equals(other.getPriceIt()))
            && (this.getPriceFr() == null ? other.getPriceFr() == null : this.getPriceFr().equals(other.getPriceFr()))
            && (this.getPriceMx() == null ? other.getPriceMx() == null : this.getPriceMx().equals(other.getPriceMx()))
            && (this.getPriceJp() == null ? other.getPriceJp() == null : this.getPriceJp().equals(other.getPriceJp()))
            && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrgId() == null) ? 0 : getOrgId().hashCode());
        result = prime * result + ((getLogisticsId() == null) ? 0 : getLogisticsId().hashCode());
        result = prime * result + ((getWeight() == null) ? 0 : getWeight().hashCode());
        result = prime * result + ((getPriceCn() == null) ? 0 : getPriceCn().hashCode());
        result = prime * result + ((getPriceUs() == null) ? 0 : getPriceUs().hashCode());
        result = prime * result + ((getPriceCa() == null) ? 0 : getPriceCa().hashCode());
        result = prime * result + ((getPriceUk() == null) ? 0 : getPriceUk().hashCode());
        result = prime * result + ((getPriceDe() == null) ? 0 : getPriceDe().hashCode());
        result = prime * result + ((getPriceEs() == null) ? 0 : getPriceEs().hashCode());
        result = prime * result + ((getPriceIt() == null) ? 0 : getPriceIt().hashCode());
        result = prime * result + ((getPriceFr() == null) ? 0 : getPriceFr().hashCode());
        result = prime * result + ((getPriceMx() == null) ? 0 : getPriceMx().hashCode());
        result = prime * result + ((getPriceJp() == null) ? 0 : getPriceJp().hashCode());
        result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
        return result;
    }
}